<template>
    <div id="search">
        <div class="top">
            <div class="out">
                <span><i class="fa fa-search"></i></span>
                <input type="text">
            </div>
        </div>
        <div class="classify">
            <p>电影/电视剧/综艺</p>
        </div>
        <div class="film">
            <ul>
            <li>
                <div class="first">
                    <img src="/img/001.png" alt="">
                </div>
                <div class="second">
                    <p class="title">机械师2</p>
                    <span class="score">8.9</span>
                    <p>剧情，喜剧，犯罪</p>
                    <p>2020-6-30</p>
                </div>
            </li>
        </ul>
        </div>
    </div>
    
</template>
<script>
export default{
    name:"Search"
}
</script>
<style scoped>
.top{
    background: rgb(231, 229, 229);
    width: 100%;
    padding: 10px;

}
.out{
    padding: 5px;
    background: white;
    border: 1px solid #ccc;
    height: 20px;
    width: 90%; 
    margin:auto;
    border-radius: 5px;
}

input{
    display: inline-block;
    
    height: 20px;
    width: 90%;
    border-style: none;
    outline: none;
}
.classify{
    height: 40px;
    line-height: 40px;
    color: rgb(129, 129, 129);
    font-weight: bold;
    border-bottom: 1px solid #ccc;
}
.second span{
    display: inline-block;
   color: #f90;
   font-weight: bold;
   float: right;
   margin-top: -30px;
}
img{
 width: 80px;
}
.first{
    width: 20%;
    float: left;
    margin-top: 5px;
}
.second{
    width: 77%;
    float: left;
    margin-left: 10px;
}
.second p{
    margin-bottom: 5px;
    font-size: 14px;
}
.second .title{
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
}
.film{
    height: 120px;
    padding: 5px 10px;
    border-bottom: 1px dashed #ccc;
    font-weight: bold;
    
}

</style>
